home *** CD-ROM | disk | FTP | other *** search
/ Scene 96 / Scene 96 International Edition (Zyklop Software) (Disc 2) (1997).iso / misc / coding / nlb_3drt / nailbomb.nfo < prev   
Text File  |  1995-04-14  |  6KB  |  110 lines

  1.               .._ _________ ____     ____________    ______  ______. .
  2.     _____ ._____________  /_____)___ \______    /    \__   \|   __/__________.
  3.     \__  \|    __/   __  /_  .::|   | /   _   _/______/_    \    \ _____    /
  4.      /   \\     \_    /   /    .|   |____ /     /  __   \ \    /  \/  _   _/_
  5.    _/     \______/   ___ /______|   |    \_____/    /    \_\  /___/   /     /
  6.    \______|     \___/         /___________\.._ __________/. \/ ./__________/
  7.  
  8. ═══════════════════════════════════════════════════════════════════════════════
  9.                        [o] 3-D ROTATiON Explanation [o]
  10. ───────────────────────────────────────────────────────────────────────────────
  11.  Done By      : ASH                      Total Files  : 4
  12.  Protection   : None                     Release Date : 10th April '95
  13.  Program Type : None                     Filename     : NLB-3DRT.ZiP
  14. ═══════════════════════════════════════════════════════════════════════════════
  15.  
  16.   Release Notes : This is not patch, trainer, crack or what so ever!.. it's
  17.                   just an assembly source of a 3-D rotation. I tried to
  18.                   explane it as good as I could, I hope it's usefull to all
  19.                   you coders out there..
  20.                   Please, Please, Please.. If you think this code is a piece
  21.                   of *PURE* shit let me know!.. and ehrpff.. if questions
  22.                   must be aswered contact me at EightBall +31-(0)546-829093..
  23.   
  24.   NLB News      : Ok, This is my first add to NailBomb. I just joined so huh..
  25.                   Btw.. can Virago & The Weazel Contact me?..
  26.  
  27.   NLB Greets    : Pino, Venom, Skizmo, The Master, The Brain, GMC, Nothingface
  28.                   Samsman, Rigor Mortis, Jazz, Diablo, Sentinel, Hammer, Peric
  29.                   Goofie, The Bitripper, The Industrial Man, MrLogic, Sqd
  30.                   And ofcourse all NailBomb members!
  31.  
  32.   Groups        : All Groups around..
  33.  
  34. ═══════════════════════════════════════════════════════════════════════════════
  35.  
  36.   A 3d rotation loox quite hard to some people, but really!, it isn't!!..
  37.   I hope explaning is just as easy :).. In this text I will try to make it all
  38.   clear. Some of you won't understand it, and some of you will. My explanation
  39.   is based on beginning programmers, so if you know JUST a little it's enough!
  40.  
  41.   The main thing with 3d rotation is:
  42.  
  43.         YT = Y * COS(x) - Z * SIN(x)
  44.         ZT = Y * SIN(x) + Z * COS(x)
  45.         Y = YT
  46.         Z = ZT
  47.  
  48.         XT = X * COS(y) - Z * SIN(y)
  49.         ZT = X * SIN(y) + Z * COS(y)
  50.         X = XT
  51.         Z = ZT
  52.  
  53.         XT = X * COS(z) - Y * SIN(z)
  54.         YT = X * SIN(z) + Y * COS(z)
  55.         X = XT
  56.         Y = YT
  57.  
  58.   I guess you think.. 'hehe' or 'hmmmm' or 'aaaaarrgg'..
  59.   But don't worry, as promessed I will explane it all (well.. I'll try :)
  60.   Above you see a few formules, they calculate the whole thing. I don't
  61.   understand them insideout my selve, but the point is just how to use them!
  62.   This package should include a sinus from 0 to 255, it's all you need. So
  63.   don't use a SIN-table + COS-table, just count 64 bytes upon the SIN-table
  64.   and you have a COS-table!.. (In case you knew that kick me :)
  65.   This package also includes a table for a 'ball', it has ? * 3 bytes (points)
  66.   an X, Y & Z -position for each dot, together they will form a ball.
  67.   In the formule above you see 'XT','YT','ZT'.. this are just variables to
  68.   store the X,Y or Z coord. for a short while. In the formule you also see
  69.   'X','Y','Z'.. this are the coordinates from a point (x,y,z) and a COS & SIN,
  70.   but I suppose you understand the sine and cosine idea. Oh yeah, I almost
  71.   forgot, In the formule you ALSO see x,y,z between brackets, this are the
  72.   angles (steprates). These will tell how fast the points turn around the
  73.   X (x) or around the Z (z).. Hmm, that's too fuzzy I think.. SHIT!.. well
  74.   a small drawing here..
  75.  
  76.                               y
  77.                               y      z
  78.                            (y)y    z
  79.                               y  z (z)
  80.                               yz
  81.                               0xxxxxxxxxxxxx
  82.                                     (x)
  83.  
  84.   I hope you understand a little what I mean?..
  85.   Ok now, I guess that was the formule, in the assembly source everything
  86.   is commented, that will do I'm sure.. (man I am a lousy explaner!, sorry:)
  87.  
  88.  
  89. ═══════════════════════════════════════════════════════════════════════════════
  90.   Name:                    Status:     Number:        Ndz:  Sysop:
  91. ───────────────────────────────────────────────────────────────────────────────
  92.   Edge Of Honor WHq······· World HQ··· +31-2159-37816  3    XtreeMan··········
  93.   Golden Image············ German HQ·· +49-6039-45756  3    Brian·············
  94.   Underworld·············· Swiss HQ··· +43-2277-69331  1    Psycho············
  95.   Stopoint················ Brazil HQ·· +55-21-611-3362 1    Shadow············
  96. ───────────────────────────────────────────────────────────────────────────────
  97.   Fiction················· Apply······ +31-77-826906   1    SlackJaw··········
  98. ═══════════════════════════════════════════════════════════════════════════════
  99.  
  100.                                 MAIL GOES TO:
  101.                           PO BOX 520 1400 AM BUSSUM
  102.                                THE NETHERLANDS
  103.  
  104. ═══════════════════════════════════════════════════════════════════════════════
  105.                                Together We Stand:
  106. ───────────────────────────────────────────────────────────────────────────────
  107.      Ash, Heretic, Impure, SlackJaw, Sonic, Synopsis, The Weazel, Tweak,
  108.                                Virago & WizzyWiz.
  109. ═══════════════════════════════════════════════════════════════════════════════
  110.